package com.LONE.spring6.tx.service;

import org.springframework.stereotype.Service;

/**
 * @Project ：learn_spring
 * @File ：BookService.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/4/5 10:55
 * @Description ：For study.
 */

@Service
public interface BookService {

    boolean buyBook(Integer bookId, Integer userId);
}
